package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.CurriculumSeries;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface CurriculumSeriesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CurriculumSeries record);

    CurriculumSeries selectByPrimaryKey(Long id);

    List<CurriculumSeries> selectAll();

    int updateByPrimaryKey(CurriculumSeries record);

    /**
     * 总条数
     * @param qo
     * @return
     */

    int queryForCount(QueryObject qo);

    /**
     * 每页的数据
     * @param qo
     * @return
     */

    List<CurriculumSeries> queryForList(QueryObject qo);


}